os/os-android.h: fix shared memory support