return number of free bytes in serial buffer instead of number
of used bytes.