compat: (pretend to) implement getpid() on NaCl