use get_names(std::string&) instead of get_names(HOTKEY_COMMAND) in get_menu_images

the unlike the string, the HOTKEY_COMMAND doesn't identify the hotkey_command, that's why hotkey::get_names(HOTKEY_COMMAND) can also return bindings for other hotkey_commands which we dont want.