The Air Force veteran played by Robin Williams in the 1987 movie, died Wednesday