Fixes warnings that Clang 3.4 exposes on Android.

Fixes all warnings on Android build except for what is in externals.
Removes a function from TextureDecoder_Generic since it is unused and generates a warning.