Remove 2-iteration loop for adding normal termcap entries

This 2-iteration loop was removed from check_map_keycodes()
Remove 2-iteration loop for check in mappings & abbreviations

2-iteration loop anti-pattern removed in check_map_keycodes()