seecurity/cops: Fix build with LLVM15
(cherry picked from commit 44f86b3060a1eb90ee251d7915abdfcee60ad842)