capture-libs: Allow patterns to be read from a file
The pressure-vessel tool used in the Steam Runtime has an increasingly long list of graphics libraries which might be better as a file than on the command-line.
Based on !33 (merged), please review that first.