HBO's Harry Potter series has cast a fan-favorite from The Matrix franchise as an iconic character with ties to Albus Dumbledore.