5.2 magnitude earthquake jolts Kermadec Islands