SAM conversion takes a function value (function type or a subtype), and produces a SAM interface value.