Update HID to ensure thread safety
Update HID to ensure thread safety

Update the logic in usbd_user_hid.c to provide
stronger thread safety guarantees by using semaphores, along with
locking the HID mutex where necessary.

sg-/DAPLink,google/DAPLink-port,google/DAPLink-port,google/DAPLink-port,google/DAPLink-port,sg-/DAPLink,sg-/DAPLink