Death and dying is a process as fearful for the artist as it is for the rest of us and immortality just as meaningless. But their manner of leave-taking should tell us something about the genius that purports to lift mystery’s veil on existence, at least a little. Dylan Thomas raile