Fix bugs in jmem-ashmem. If ashmem_set_prot_region fails, close the previously opened file. If mmap fails, close the file and return -1. BUG:18894965 Change-Id: I936b5c7395480249b1457e7dee566da6141fb023 (cherry picked from commit 3773c6ec2bcf603cfa2b16575022642b3e816297)