fix in gu_mmap_pool for Android
fix two warnings in mem.c