jf-common: use legacy mmap

Change-Id: Ic3653c8ce2aa3efabaa5b19f9cfc05ddba711203