A new study has found certain corals are more resilient in warmer waters, giving hope to the world-famous reef.