[dlr] Emit correct code for convert of nullable types. Fixes #19500