diffutils: fix gets() with glibc-2.17 in gnulib.