Firefighters brave icy water to save stranded dog