A viable pipe bomb was found close to a war memorial in Omagh, police in Northern Ireland have confirmed.