[GOFF] Introduce GOFFWriter class (#131216)
The GOFFWriter has 2 purposes:
- Simplify resource management
- Enable writing of split DWARF files
It follows the design of the other writer classes. No added
functionality at this point.
This changes also makes the GOFFObjectWriter a public class.