[jit] Delete the ErrorReport default constructor (#32879)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32879
An error report without a SourceRange context is bad, because it doesn't
tell the user where something happened. Delete the default constructor
to make it harder to create errors like this (you can still use a fake
SourceRange if you absolutely need to).
Also clean up the only case where the default constructor was used.
Test Plan: Imported from OSS
Differential Revision: D19670924
Pulled By: suo
fbshipit-source-id: 46888a86e5d32b84c8d6d52c0c8d70243722b14a