[autoconf] add patch autoheader-nonfatal-warnings.patch

fix build issue with old style configure.in files