usb: gadget: f_hid: convert to new function interface with backward compatibility