file_ram_alloc: exit if mmap fails and mem_prealloc is set

Signed-off-by: Peter Lieven <pl@kamp.de>