ghost: Sync on thread migrations

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>