A Method of Correcting for Incident Ion Buildup Effects in Measurements of Thick Target X-Ray Yields from Ion-Atom Collisions