process: don't try and create a reference from a raw integer variable, just dereference a pointer. Fixes fork() on x86_64.