math/kamis: Fix build on armv7
Reported by: fallout
(cherry picked from commit 3e31e1530fa3087611f35910d75ac67a0cd1f186)