fix "mcode" check in cliprdr_thread_func()

Priority of the '!=' is higher than '=' operator