Bug 949360 - Check for Image AllocateBuffer() failures. r=nical a=lsblakk

--HG--
extra : transplant_source : oA%9C%7C%28s%AA%5B%1BH%19%DD7t%DE%7D%A0i%07%BA