JitCache: Use std::array to back the arrays within it.

Cleans up some of the allocation process.
I had to move that so I could do the initialization check first. (preventing opening an agent twice).