Change obsolete last-command-char to last-command-event

The alias `last-command-char` for `last-command-event` existed
for compatibility with Emacs version 18, but got finally removed.

Reported-by: Marcin Borkowski <mbork@mbork.pl>
Signed-off-by: Jakub Narębski <jnareb@gmail.com>