fix #1484: catch oom exception on BitmapFactory.decodeResource

fix #1484: catch oom exception on BitmapFactory.decodeResource
Not directly related to this patch, but `getWPImageSpanThumbnailFromFilePath` can throws an OOM error in case of video file.