autoconf: Unset NO_STH and NEED_STH when it is detected not needed