Stranded dog rescued by Stockton firefighters