globroots.c: adapt to no-naked-pointers mode (#9683)
globroots.c: adapt to no-naked-pointers mode (#9683)

Global roots management has a special case for out-of-heap pointers.
This is not compatible with a future removal of the page table.
However, this is just an optimization that can safely be turned off.

This PR treats out-of-heap pointers like major-heap pointers in
no-naked-pointers mode.
gerdstolpmann/ocaml,gerdstolpmann/ocaml,gerdstolpmann/ocaml,gerdstolpmann/ocaml,gerdstolpmann/ocaml