UsePkgConfig: Restore removal of trailing whitespace from pkg-config output
After !8652 (merged), trailing whitespace was introduced into libraries linked, which violates CMP0004.
Backport: release
Topic-rename: UsePkgConfig-trailing-whitespace
Edited by Brad King