sync ptr before get mmap avail

Test: mm libtinyalsa
Bug: 174972189
Bug: 175054967
Change-Id: I003d1162e8dce382a61d7f9a86422a58a760a758
(cherry picked from commit cfdae6063e10b01fdea93e754099cd6d6f66f4e8)
1 file changed