"dog-gone boy" -- Any ideas where/why this mock profanity might have developed?

Perhaps, rather than being mock profanity, it stems from "It's a dog-gone shame." I don't take that as profanity, but as an image of sadness, just as in "It's a crying shame."

That's just speculation on my part, having no data one way or the other.