AP_HAL_PX4 : make UARTDriver capable to be called from different threads.

The modification allows the read and write functions to be called by any thread but the calling thread must be the last one that called the begin() function.