find_library: Improve regex readability in --debug-find output

If there is only one possible library prefix/suffix, omit the capture
group around it in the debug output.
3 files changed