[PATCH 4.19 82/84] USB: core: fix check for duplicate endpoints