Revert "JIT: Performance fix for const doubles"

This is causing Location.distanceTo to sometimes return invalid
values.
This reverts commit bfce8386cb0c42a9534e99d1ff565391cdfc4c83.