Fix stack overflow on x64 with memchecks, darn it.
Merge pull request #5489 from unknownbrackets/jit-minor

Fix stack overflow on x64 with memchecks, darn it