genkeymap: fix allocation: strdup the "" when termcap missing