Make fdunshare accept only td parameter.

Proc had to match the thread anyway and 2 parameters were inconsistent
with the rest.

MFC after:	1 week
Call fdcloseexec right after fdunshare.

No functional changes.

MFC after:	1 week