what movie earned tom hanks the third oscar nomination?