libgst: Do not walk the pages when SIGSEGV is not used

When no mprotect/SIGSEGV is used there is no point in walking
and copying the pages as no segfault will be generated. This
makes the address sanitizer happy when ran on the VM.