kernel: Fix 'Define(@array) is Deprecated' warning