nommu: fix error handling in do_mmap_pgoff()