ofImage: android/iOS, register images on load

avoids memory problems with images in vectors created
using resize
Merge pull request #1785 from arturoc/bugfix-ofImageRegister

ofImage: android/iOS, register images on load