[clang-offload-bundler] Reuse original file extension for device archive member

This patch changes clang-offload-bundler to use the original file extension for
the device archive member when unbundling archives instead of printing a warning
and defaulting to ".o".

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

GitOrigin-RevId: 4b553297ef3ee4dc2119d5429adf3072e90fac38
2 files changed