Remove if statement altogether, as suggested by timschumi.
We don't support hashes from external files (anymore), downloading another file for integrity validation is pointless. As as result, these two ports would refuse to build as their hashes were missing. Fixes #6645.