Add some sRGB conversion functions to test_util.{h,cpp}.