shmfd: hide direct rangelock(9) use under a wrapper
(cherry picked from commit 6df6facf44f952f64753bee00831fd93f16c99a9)