math/flann: fix build with cmake 4
Approved by: portmgr (build fix blanket) Event: EuroBSDcon Devsummit 2026