Kings edge Hornets on John Salmons' layup