Bug 886417: lock before accessing DataChannel->mState r=mcmanus a=bajaj