connection: Make wl_closure_print thread-safe
When multiple threads are used, output from different threads was intermixed in one line. That what breaking parsing of the log messages. Now, a mutex prevents this intermixing.
Signed-off-by: Alexander Irion alexander_irion@mentor.com