[PATCH 3/6] riched20: Simplify the char offset from run offset function.