Verify preconditions for Pix.ConvertRGBToGray (Issue #127)