Merge pull request #11512 from JosJuice/android-mem2-crash Android: Fix crash when attempting to change MEM2 size