autoerase: write out the debugdata used to calculate redundant packages.

Uses the new Goal.write_debudata() parameter, see hawkey commit f457dd8.