Update libarchive's and liblzma's configuration for recently added stuff.
Make both use futimens() and utimensat(). xz's configure won't check for
futimes() if futimens() is available (hence HAVE_FUTIMES goes back to
undefined).
While here, define HAVE_DIRFD for libarchive too since we have it as a
public function since
de45303d1431339260c3a353a1e18d034c807c4a.
Note that diff and grep also have HAVE_... macros for futimens() and
utimesat() in their config.h's but they are unused in the code, probably
stray configure checks.