configure: Move the testing for Ttext-segment to the right place.

Signed-off-by: Richard Henderson <rth@twiddle.net>