Apply partial relro security hardening