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