Game of Thrones writer reveals which episodes fans must rewatch before the series finale