Falling pizza sales have prompted frozen food giant McCain Foods to stop producing pizzas in the UK, with the potential loss of around 40 jobs.