Qt5 cmake: Fix the case where a single library appears in multiple
_qt5gui_find_extra_libs calls
Merge pull request #927 from pumphaus/qt5-cmake-fix2

Qt5 cmake: Fix the case where a single library appears in multiple _qt5gui_find_extra_libs calls