[relocate] Guard against systems that report empty memory regions