Implement pmap_nest/pmap_unnest. These functions are used for shared segments on ARM. pmap_expand has to be fixed to also work properly.