GO-SLAM: Global Optimization for Consistent 3D Instant Reconstruction