acme: fix off by one in editcmd, pointer comparison in getch, nextc

R=r
http://codereview.appspot.com/868046
1 file changed