android: add support for NDK sharedmem