A hospital referral for a convicted murderer who took his own life in prison should have been followed up with greater urgency, a report has said.