Uganda has ended its opposition to a global moratorium on the use of the death penalty