kernel: make READ_ONCE() valid on const arguments