Different string reverse

Shorter, one loop, and deals with the null character at the end.