pdmserialifs.h: Introduce a new interface for the serial port emulation. The old one has several shortcomings requiring two threads for I/O (one for send, one for receive operations), no interface to notify the device about available data making data transfer inefficient by requiring several switches between threads