parlib: Add __uth_sync_swap and __uth_sync_is_empty