chromaprint: add upstream patch to fix compilation

Fixes #24388.