A 39-year-old man died after a shark attack at Kennedy Shoal in Far North Queensland, the second fatal incident in Australian waters this month.