Add the BSD version of GetCommandForPid()