util/format: add trivial srgb<->linear conversion test