Arab League chief: Hamas not a terror group