'The Hobbit' will stay in New Zealand, prime minister says