Core: Use the enum constant for an invalid reg in JitRegCache