From Fake to Real: Pretraining on Balanced Synthetic Images to Prevent Bias