ExternalProject: Restore case-insensitive download hash check
Refactoring in commit 89113e12 accidentally made the download hash check case-sensitive. The hash comparison is done in hex strings, so restore case-insensitive comparison since the case of the hex digits does not matter.
Fixes: #16568 (closed)