Merge "Support RenderIntents in libtonemap." into tm-dev