Local charge excesses in metallic alloys: A local-field coherent potential approximation theory