[WebIDL] Support callbacks with arbitrary return types