Fix arch detection on x86.
Fix arch detection on x86.
Fix arch detection on x86.
Merge pull request #183 from Sonicadvance1/Arch-fix

Fix arch detection on x86.
Fix building the release APK with gradle.
In release build all warnings are errors, and lint has some obnoxious warnings.
Merge pull request #186 from Sonicadvance1/gradle-fix

Fix building the release APK with gradle.
Fix the Android build when using clang 3.4
Merge pull request #187 from Sonicadvance1/android-clang-fix

Fix the Android build when using clang 3.4
Clang 3.4 exposes some warnings 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.
Merge pull request #188 from Sonicadvance1/clang-warnings

Fixes warnings that Clang 3.4 exposes on Android.
Remove superfluous bit shift

Signed-off-by: Jens Nyberg <jens.nyberg@gmail.com>