[SeaBIOS] [PATCH 1/2] readserial: Improve Python3 compatibility