compilers: use consistent function signature for objc
compilers: use consistent function signature for objc

e.g. for detect_c_or_cpp we just take the language itself as an
argument.

mesonbuild/meson,mesonbuild/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson,mesonbuild/meson,pexip/meson,pexip/meson,pexip/meson,pexip/meson,pexip/meson,pexip/meson,mesonbuild/meson,pexip/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson,mesonbuild/meson,pexip/meson,mesonbuild/meson