I have little doubt that the "standard" lyrics originated with A. L. Lloyd, perhaps on "Blow, Boys, Blow."
He may have elaborated them from a stanza or two in W. Roy Mackenzie's "Ballads and Sea Songs from Nova Scotia" (1928) and altered the tune somewhat as well.
Gibb may know more.