You can repair your game with a copy of Fire Red or Leaf Green (japanese of course). Basically you start FR/LG and when you see the title screen you press Select+B. Then you will see screens where you are asked to link your Sa game with FR/LG. When you switch Sa on the Berry Glitch Fix will be downloaded from FR/LG.
The details are on serebii.net. I have done it. But I never experienced the Berry Glitch problem.