Isaac Hempstead-Wright once accidentally gave away a key ‘Game of Thrones’ character’s death in maths class