gpu: Handle image creation failure for cairo ops
Handle this like we do for textures: If we can't create the image, just return NULL, and don't leak.
Handle this like we do for textures: If we can't create the image, just return NULL, and don't leak.