lpr: replace setpgrp(2) with setpgid(2).

setpgid(2) is more portable than setpgrp(2).
The BSD variant of setpgrp is a wrapper for
setpgid(2) anyways.

MFC after:	5 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271789 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
unistd: move setpgrp(2) to the __BSD_VISIBLE section

Our setpgrp(2) differs from the specified by POSIX, which
only has one argument, and is only meant for compatibility
with BSD.

Reference:
http://pubs.opengroup.org/onlinepubs/009695399/functions/setpgrp.html

Pointed-out in:	openbsd-tech (2014-09-16)
MFC after:	6 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271792 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f