Qbs: Clear build system related tasks before reparsing qbs

Task-number: QTCREATORBUG-9778

Change-Id: Ic054f1619832a5ff0ea53d7fc5225fe674ddac13
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>