Qbs: Flush parsers when all qbs output is processed

This prevents parts of gcc error messages from getting lost.

Task-number: QTCREATORBUG-9351
Change-Id: I5dd209194eac6606cd76aaea16e43f66f3ec52fa
Reviewed-by: Daniel Teske <daniel.teske@digia.com>