math/coinmp: Dependency fixes
PR: 263246 (cherry picked from commit 26c29e188544af869114c53f76d6f596a9041f9a)