[sanitizer] Fix build with OSS4 kernel headers.

This fixes PR16453.