Tom Kim thought he had holed out from a greenside bunker at the PGA Championship but his ball lipped out just as he started to celebrate.