Fix build with DEBUG_LOCKORDER

Fixes #4771
qt/splashscreen: #include version.h

Needed to build breakage reported by Arnavion on IRC:
qt/splashscreen.cpp: In constructor 'SplashScreen::SplashScreen(const QPixmap&, Qt::WindowFlags, bool)':
qt/splashscreen.cpp:33:98: error: 'FormatFullVersion' was not declared in this scope
Add warnings for autogen.sh. Fix AC_CONFIG_SRCDIR.
Update obsolete AC macros.