Add security.bsd.allow_ptrace sysctl
(cherry picked from commit fe6db727081936c43250f97a4ff4b9de20eb0091)