Explicitly check the load/store value type, because this is no longer implicitly checked through the pointer type.