backend: Implement stub fromIr for StorageTypes.
semantic: Modify expression type when casting to storage.