The former president knocked the ex-chair of the Joint Chiefs of Staff, who criticized any "wannabe dictator" during his retirement ceremony.