Speed up literal Hash creation

The allocate path is faster since it doesn't need things like splatting
arguments etc. like how .new does.
Improve detection for non X86 architectures
Improve JIT type checks for casting and creating arrays
Improve jit checks for casting arrays