libwar2: use mmap