I used to describe that as my diaphragm cramping up, but I've heard it referred to as side-stitches. Do you have a gut? Do you hold it in when you ride? One thing my coach taught me that really helped is to push your gut out as you breathe. Whenever you start feeling it, consciously breathe with your stomach and that should help.