Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent

This helps us include less.

--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1