(create_process): Test HAVE_SETPGID for using setpgid.