[ASan tests] Use the proper attribute on RunStrChrTest helper functions to avoid "unused function" warnings