keycodes: fix keymap compilation with no aliases and malloc(0)==NULL