There is no tsunami threat in Hawaii after a 7.1-magnitude earthquake struck off the Kermadec Islands.