TEHRAN, Iran — Iran has appointed veteran Islamic Revolutionary Guard Corps commander Mohsen Rezaei as secretary of the Supreme National Security Council, placing a prominent hardliner and close ally of Supreme Leader Ayatollah Mojtaba Khamenei in a key position overseeing the country’s security and foreign-policy coordination.