KUBSan: Remove some undefined references in kernel mode