This removes a bunch of casts between pid_t and u64, and makes more sense since pid_t is literally the data type for process IDs.
Luna-specific, but I like it.