The £249m Bridgwater Tidal Barrier scheme is being reshaped to withstand not only the risk of widespread flooding but also another threat – inflation. David Taylor reports