Use components instead of libraries in Polly linkage step

As a side effect, this tests (and fix a bug) in the compiler extension handling
of components.

Differential Revision: https://reviews.llvm.org/D78358

GitOrigin-RevId: e849e7a700907441ee82ace9d0a9555ae7eb9811
1 file changed