JIT: Performance fix for const doubles

This reverts commit 6799723387fe725e5418a83d2762539530a8835c.

Change-Id: I1571a80c378db2c222a8fbd07fc6df768fd3150c