compiler: Use backend interface for type conversions.