d/wmr: Recover from bad camera transfers
Fix USB overflow problems when camera readout is
delayed by rounding up the transfer size to always
be a multiple of the endpoint transfer size, and
by discarding invalid frames that happen when
the headset ends up with too much data queued.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2394>
authored by