Bug 959380 - Fix a mismatched enum bug revealed by the conversion of gfxImageFormat into a typed enum - no review, trivial build fix