posix: retry if interrupted in Serial.read

Retry and recalculate timeout if interrupted in Serial.read.
see https://www.python.org/dev/peps/pep-0475.
1 file changed