I had previously seen "quacksalver" derived from "quicksiver=mercury", which quacks may indeed have used in some of their salves, but as Wordsmith says, there is a preponderance of evidence in favor of the onomatopoietiecal ornithological origin.