kernel: Fix defined(@array) is deprecated error