Stabilization of trapless dipolar Bose-Einstein condensates by temporal modulation of the contact interaction