sco-source: simplify mSBC frame parsing
Simplify mSBC buffer handling and syncing to frame headers to work on a per-byte basis.
The previous code could terminate with buffer overrun if it encountered multiple consecutive incomplete packets. (It discarded data one packet header at a time, which does not keep the data size under the fixed limit. It seems simpler to use a state machine.)