Normalize builtin types to dtypes. (#106074)
Fix: #105052
Follow-up: #105588
This PR normalizes builtin Python types (e.g. `int` and `float`) into PyTorch data types
when these are passed as argument, instead of used as functions.
In summary, we:
- Implement `BuiltinVariable.as_proxy`, mapping Python types into PyTorch data types
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106074
Approved by: https://github.com/ezyang, https://github.com/lezcano