[JuliaLowering] `ccall((lib,sym)...)` and `cfunction` fixes (#60257)
- `ccall` with a `lib,sym` tuple argument was being desugared to a call
to `Core.Tuple` when we actually want an `Expr(:tuple)`
- `cfunction` only worked in simple cases, since the check for local
variables in scope resolution will fail with any nontrivial function
body. I know that using the new `static_eval` head could be considered a
bugfix (see discussion at
https://github.com/JuliaLang/JuliaLowering.jl/pull/36), but this PR just
uses `inert` to match Base.
stdlib status: 38/51 (with #60255)