src: Fixed bug in the kernel ANSI wrapper that was missing a const