Allow Z endstop to be configured to be either a min or max endstop