Fixed an issue with the STM decoder. When the input data source was a serial port, an incorrect implementation of reading the bytes from the port would cause no STM traces to be emitted.