Uganda’s attorney general endorses 7-year term for president, MPs