Replaced $cpu_array with CPU_ARRAY.

Even when a global variable is declared inside a module or class it will leak
into the global scope. Since Array#push and the likes also work with constants
we can safely replace $cpu_array with the CPU_ARRAY constant.