5.4 earthquake shakes central North Island