Bug 990305 - Move IsInEmulator() from GrallocImage to gfxPlatform r=nical