There has been an increase in the number of second homes turning back into main homes in Gwynedd - according to a new report.