Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch]

diff --git a/memory/selector.c b/memory/selector.c
index 132ba4c..d52989b 100644
--- a/memory/selector.c
+++ b/memory/selector.c
@@ -19,6 +19,7 @@
  */
 
 #include "config.h"
+#include "wine/port.h"
 
 #include <string.h>