Core-level binding energy shifts as a tool to study surface processes on LaAlO3/SrTiO3