Fix potential NPE when getting soft reference
This is an old branch I had lying around that fixes a potential NPE in EmojiProvider if a SoftReference becomes null between two calls to SoftReference#get(). The branch also changes the error handling slightly so that if there's an exception while loading a bitmap, listeners learn of the failure rather than getting a null result.