On the non-malleability of the Fiat-Shamir transform