Decode grayscale images to RGBA

Part of the fix for servo/servo#3154. r? @SimonSapin