[cppmyth] Fix dirty buffer after seeking

Flushing unread data previously requested before seek into stream.