Fixes an ExecutionEngineException on Unity3D iOS.

I was having an ExecutionEngineException on Unity3D iOS for attempting to JIT compile the Swap method while running with AOT. Since you're only using this method with ints, making it non-generic fixes it.