operations: fix handling of hue in color-rotate