QtSupport: Fix mkspec detection for Qt4/MinGW.

This is a workaround for QTBUG-28792.

Change-Id: I6a6de3a44569563e6013a388875035bda9772bed
Task-number: QBS-703
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>