[CSClosure] Introduce `SyntacticElementContext`
[CSClosure] Introduce `SyntacticElementContext`

Replace `AnyFunctionRef` as "context" for syntactic element with
a custom `SyntacticElementContext` to support type-checking of
other constructs in the future.

apple/swift,apple/swift,apple/swift,apple/swift,apple/swift,apple/swift