Remove 5.005 thread support from configure.com.

Follow-up to 5ff367e3adebb49.