Fixed bug in statedump where service pids were -1

I passed args pid and wstat backwards when calling the notify
function during statedump command.