kernel: pid_namespace: simplify sysctls with register_sysctl()