On its own, coconut milk can separate if frozen and be slightly grainy when thawed but it's still perfectly fine to eat. When used in a curry, the other ingredients may prevent the separation and stabilize the milk, but the thawed curry may be different texturally than pre-frozen and you may still encounter a bit of separation and granularity. Again, it's still safe to eat.