Catch possible NPE in BitmapFactory.decodeByteArray.