Fix ashmem_shrink deadlock