Composition control in laser surface alloying