Set the same access ref_id to gpu_stmt and MemoryAccess