radv: Add code to check if two formats can share DCC metadata.