Use `CcCompilationContext` internally when configuring compilation actions.
Use `CcCompilationContext` internally when configuring compilation actions.

We don't need to pass the whole `CcInfo` as a prerequisite, and this better unifies the interfaces of the `SwiftCompile` and `SwiftPrecompileCModule` actions.

PiperOrigin-RevId: 403414208
(cherry picked from commit 790b8d40c83ae5415b54be02b5750efc73831c33)

bazelbuild/rules_swift,bazelbuild/rules_swift