Replace some REFERENCE_TARGET calls with RESOLVED_CALL

Also don't do unnecessary and failing casts in CodegenAnnotatingVisitor for SAM
adapters

 #KT-3173 Fixed
 #KT-3999 Fixed
 #KT-4682 Fixed
Minor, get rid of ExpressionCodegen.asmTypeOrVoid()
Minor, add ExpressionCodegen.resolvedCall() utility

To obtain a resolved call by an expression with a non-null assertion
Minor, static import BindingContext.* in ExpressionCodegen
Buildserver auto merge