[jit] Cache gsharedvt types in get_gsharedvt_type ().