Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob

--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51