Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow