loader: Remove windows disable of global optimization.
Now that vktrace now longer uses mhook, can reenable global optimize on Windows.
diff --git a/loader/trampoline.c b/loader/trampoline.c
index 0d13e66..7ebdfe4 100644
--- a/loader/trampoline.c
+++ b/loader/trampoline.c
@@ -30,11 +30,6 @@
#include "debug_report.h"
#include "wsi_swapchain.h"
-#if defined(WIN32)
-// On Windows need to disable global optimization for function entrypoints or
-// else mhook will not be able to hook all of them
-#pragma optimize( "g", off )
-#endif
/* Trampoline entrypoints */
LOADER_EXPORT VkResult VKAPI vkCreateInstance(