A Co Antrim motorcyclist suffered fatal injuries in a road race in Co Westmeath after colliding into the back of another rider who had slowed down due to a red flag warning about a possible spectator on the track.