(__getpgid): Add libc_hidden_def. Remove undef and INTDEF.