useradd: fix OpenBSD support

OpenBSD useradd(8) command sligtly differ from Linux.
/etc/login.defs is used instead of /etc/login.defs, some options are
unsupported and some usermod switches are different.
Merge pull request #15284 from ajacoutot/obsd-useradd

useradd: fix OpenBSD support