[PATCH openEuler-5.10 28/54] tty: fix possible deadlock in console_unlock