Use forward declarations and move TargetELFWriterInfo impl to a new file.