Search for Gravitational Waves Associated with gamma-ray Bursts Detected by the Interplanetary Network