Fix Android crashes

Application would sometimes crash (NPE) when aggressively scrolling a ListView with remote images. Seems there were some safety checks missing in the code (although they were used elsewhere in the same class). Added the safety checks as needed.

See https://jira.appcelerator.org/browse/TC-2689