Fixed a bug for null buffer textures on reload

Certain types of textures get initialized with null buffer which will be
filled in later via glCopyTexImage2D. However null buffer textures
currently causes NullPointerException on TextureManager class during
reload as it tries to guess the texture size from a null Bitmap.
Initial commit for LensFlare plugin