Chestnut gnocchi gratin with bacon