kernel: fix a small #ifdef bug in the noncoherent dma check rework