Add pthread patch and purge unused patch.

See also https://github.com/cms-sw/root/commit/4f40be50369f3bd00f96921e4dfce35ddd036ebc.