Add an upstream patch to fix failing tests. The patch actually affects gnulib, which is included as a vendored dependency.