A man died at John Radcliffe Hospital in Oxford last year after waiting seven months for elective heart surgery, an inquest has heard.