kernel/linux: Use #ifdef (fixes -Wundef).