Fix to check for null bitmaps caused by decoding errors on some phones.

Some phones (Tecno P5) produce jpegs that can't be decoded for some reason. We should catch the decoding to fail gracefully