* src/getopt.{c,h}: Update declarations for C23
The ISO C23 standard changes the meaning of declarations with empty
argument lists: previously they meant "accepts any arguments". In
C23 they mean "accepts no arguments". Modify the imported getopt
code to support this.
Original patch by: Khem Raj <raj.khem@gmail.com>