Fix null pointer dereference in QbsProjectManager::updateBuildActions.

Change-Id: Id7360d123b580d8b819586fb7bcd7f35cfb2b485
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>