chan_lcr: fixed race condition in new ref assignment