devel/splint: Fix build when bison exists
PR: 269891 (cherry picked from commit 283da459379c602a10e65bdc9c7de8d10a717520)