mm: ashmem: fix deadlock when system is low on memory

kanged: http://server.cas-online.nl:8181/#/c/524/1