Possibly derives from the similar expression dog-tired, or alternately, that dogs, especially feral mutts, are often scrappy and sickly. Possibly came from a clipping of doggone slow.
dog slow (not comparable)