Cameron Smith was inches away from a sensational hole-in-one on the final day of the PGA Championship.