Fix profile setup for mingw-qt4.

When extracting the mkspec name, we must not capture the trailing
"/qmake.conf" in our regular expression.

Change-Id: I0bca572ca173e1300ced6d5753d4140a12e33a6e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>