Gravitational waves from incomplete inflationary phase transitions