tftpd: unbreak getopt()
Unbreak getopt() broken by recent commit.
Fixes: 273a307d0b80743fb08e23237b3f74dc94a8fa2a MFC after: 1 month