pass -Wcast-qual
Support thread-local storage on 32bit Xen
Move files into platform/xen Prepares for the rumprun merge.