[Clang] [Driver] Normalize target features forwarded to external tools (#245200)
Use unifyTargetFeatures() before constructing -mattr= arguments for
Hexagon external assembly and AMDGPU linker-plugin forwarding.
Keep the last selection for each feature and preserve the relative order
of surviving entries, matching Clang's normal target-feature emission.
Preserve existing empty-list handling; no overall behavior change is
expected.
Fixes #245199
Signed-off-by: Rishabh Bali <rbali@qti.qualcomm.com>
Co-authored-by: Rishabh Bali <rbali@hu-rbali-hyd.qualcomm.com>