Adds mapping_gfp_mask(), mapping_gfp_constraint(), mapping_set_unevictable(), folio_page() and folio_file_page(), which Linux's drm_gem_get_pages() uses. drm-kmod carries them in an overlay for virtio-gpu (freebsd/drm-kmod#517) today.
The mask is GFP_KERNEL, as shmem page allocation may sleep and ignores the other flags. folio_page() and folio_file_page() are exact copies from D58763, to not clash with it.