Fix two NPEs when decoding Drawables/Bitmaps
Merge pull request #792 from metalhead8816/bitmap_factory_npe_fix

Fix two NPEs when decoding Drawables/Bitmaps