Improve NetBSD support: Allow VMA determination with fewer system calls.