USB: hid-core: Use usb_endpoint_* functions