mkenvimage: Use mmap() when reading from a regular file