android: add ACCESS_NETWORK_STATE to fix crash for some builds

Some android builds crash during shutdown due to a SecurityException
because of missing android.permission.ACCESS_NETWORK_STATE.