Projectile and Target X-Ray Energy Shifts in Heavy Ion-Atom Collisions