Good God, Gertie! What a gash!

While that Minotaur book is a modern reference it does seem that both meanings of “gash” go back a ways, with the vulgar slang was first.

I can find this 1952 usage that seems to be using the phrase as the useless person meaning, or maybe double meaning with wound, but not with the vulgar slang.

But I’d guess the usage predates that.