Add android_port initialization in the core.

Also some minor cleanups to the ui <-> core stuff.

Change-Id: I7d64ec1aa694c027851b7e262b6e1b80bb6cef08
diff --git a/Makefile.android b/Makefile.android
index 6cd1cec..8692115 100644
--- a/Makefile.android
+++ b/Makefile.android
@@ -664,6 +664,7 @@
                     android/hw-control.c \
                     android/console.c \
                     android/hw-sensors.c \
+                    android/hw-qemud.c \
 
 ifeq ($(HOST_ARCH),x86)
     CORE_MISC_SOURCES += i386-dis.c
@@ -727,7 +728,6 @@
                       qemu-malloc.c \
                       android/keycode-array.c \
                       android/charmap.c \
-                      android/hw-qemud.c \
                       android/utils/bufprint.c \
                       android/utils/debug.c \
                       android/utils/path.c \