[Demo] Reproduce unsynchronized println() bug.
Fix d44799b by wrapping with objc_sync_enter/exit lock.