[PATCH 4.14 22/37] Bluetooth: Fix race condition in hidp_session_thread