#15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete