Improve error message when COORDINATOR_DATA_DIRECTORY is unset
This commit updates gpstop and gpstart to use shared logic when
determining the coordinator data directory.
By relying on the common helper, users receive clearer and more
actionable error messages when COORDINATOR_DATA_DIRECTORY is unset
or invalid, making startup and shutdown failures easier to diagnose.