New: C version of string reverse