tinyusb: use the generic error check macros Closes IDF-3033 See merge request espressif/esp-idf!13015