If he was who dubbed him?
No, they filmed the end prior to his death
Far as I know, they've never duplicated his voice. Any time he's speaking was repurposed footage.