Add feature test and #ifdef for strlcat/strlcpy
After decades of holding out, glibc has finally added these two functions in 2.38 (2023). However, their declarations are slightly different than the one for the local copy, so they create an overload set that is ambigous.
The feature test checks for the existence of strlcat and adds a preprocessor symbol accordingly.
@kolos this is also for Alma 10. There is now a dev4 build on cvmfs. At the moment it has to be used in a container, e.g.
apptainer shell -p -B /cvmfs docker://gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:el10
. ~/.bashrc
cm_setup dev4 gcc15
...