Interfacial electronic structure of gold nanoparticles on Si(100): Alloying versus quantum size effects