meson: Use a template for config.h
This way we can enclose some defines in an ifdef block, in order not to override some values which could be provided through the command line. This aims at fixing UWP builds, which have a specific _WIN32_WINNT value provided through the command line, while enforcing our default value would cause many APIs to be unavailable