Fix broken smb_thread_once function (again)