can: c_can: fix race condition in c_can_open()