Fixed __android_log_vprint signature
Removed pointless defines from arm android
Removed gratuitous blank lines.
Unified different write_debug_image versions to all use fopen/fwrite/fclose