Cycles-Bake: fix building in WindowsXP 32bits SP3

Linux and OSX have no problem with declaring arrays with const ints as the array dimension.
Using MEM_callocN now instead.