GetComponentLibraryNameSlice() already checks that.
Using BUILD_SHARED_LIBS
AC->Library provides library name without prefix or suffix so this check would always fail.
Fixes libtool linking breakage in mesa since r206263: llvm-config: Add preliminary Windows support
--libs output should be different from --libfiles, the latter cannot be used with libtool