A powerful earthquake measuring 5.7 magnitude has struck the Halmahera Sea in Indonesia on Monday, the German Research Centre for Geosciences (GFZ) said.