A powerful magnitude-7.8 earthquake has shaken the Mindanao region in the southern Philippines, with a tsunami possible on some regional coasts.