gst-launch: handle ERROR messages in the sync handler
Errors causing the pipeline to fail going from NULL to PAUSED were not displayed, and the pipeline was not dumped either in those cases.
In addition, dumping the pipeline from the sync handler means the dump matches exactly the state of the pipeline at the moment the error was posted.