mm/mmap.c: add mlock_future_check() helper