At least six people have died and others remain unaccounted for following a fire in a hostel, New Zealand's prime minister has told local media.