configure: Use -ffunction-sections for PE targets.
winegcc: Pass -fms-hotpatch to the linker. The -fms-hotpatch flag is relevant for both the compiler and the linker.
configure: Use -fms-hotpatch when available. On Clang, this flag serves as a replacement for the __ms_hook_prologue__ attribute.