Just remember that the road of the past few decades is littered with broken hashes: MD4, MD5, SHA0, SHA1 and many others.
And yet bitcoin could use anyone of them today instead of SHA2 and there wouldn't be a security issue.
The fact that a weakness is discovered in a particular hashing algorithm doesn't necessarily mean that the algorithm is then immediately useless for all purposes.