Establishing atmospheric turbulence thresholds for reliable ground-based solar magnetograms