init-gui-frames.el: unify undo with C-z

Signed-off-by: Bao Haojun <baohaojun@gmail.com>