libclc: generic: add half implementation for erf/erfc (#66901)

libclc does not have a half implementation for erf/erfc
Add one based on the float implementation by extending the input and
truncating the output.

GitOrigin-RevId: 9160f49e08af4267efdc870a1c9a434bfd155ae3
2 files changed