lib: implement interface converter and use it for AbortSignal validation
This PR contains 2 commits.
The first one implements interface converter as per the spec.
The one after uses the implemented interface converter to properly validate AbortSiganl
s in AbortSignal.any