Man falls through thin ice while attempting to rescue stranded dog