Replace Gnulib's "getopt" module with "getopt-gnu"

The "getopt" module is marked as deprecated, these days we're supposed
to choose either "getopt-posix" or "getopt-gnu".