ia64: kill thread_matches(), unexport ptrace_check_attach()