A geometry-independent moment correction method for the MPMS3 SQUID-based magnetometer