Magnitude 5.8 earthquake jolts northern Philippines