Ensure serial checks dereference cache location

Since we have (potentially) moving and replacable caches now, we must
make sure serial checks actually dereference the location they are
stored and not refer to the object directly. This already happens in all
other places in the JIT.