fix failure of strrchr(str, 0)
[musl] / crt / crtn.c