usbredir: Add usbredir_init_endpoints() helper