Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)