Ugandan warlord Dominic Ongwen a victim of terror group, court told