FindMySQL: Only use mysql_config's output if there's no error
While any other distro I tried had --libmysqld-libs OpenSUSE
apparently doesn't have it, leading to build failures there (as
experienced on build.kde.org). So far the information provided seems
only needed on Debian based distros, so we can just do nothing if
the call isn't successful.