Corrected #endif and ifdef for Z_PROBE_SLED code.