Avoid blind chmod on android_cmd

Check for the missing exec bit before attempting to change it instead.