[v2 PATCH 1/5] wincodecs: Fix return values for scaler's CopyPalette().