missing #ifdefs for non-sled based Z-Probe

Compilation broke for me after pulling the latest Marlin code which includes support for a Z-Probe sled.

Seems to be working for me with the following extra `#ifdef`/`#endif`.