Code cleanup. Use lambdas in Thread.h (port from Dolphin).
Code clean up for atomics. Remove glib usage in Symbian as the kernel calls actually fit nicer.
Symbian: Remove glib.