The law should be changed so that people in authority like Michelle O'Neill can be prosecuted for glorifying terrorism, according to a former DUP leader.