sim: callback: add a getpid interface Rather than hit the OS interface directly, use the existing callback layer so the instantiator can decide behavior.