UN urges conflict prevention as Africa faces rising security threats