MFH: r391178
Use sysctl(3) instead of procfs(5) when we need executable path from PID.
Approved by: ports-secteam (delphij)