I can't imagine goldfish eating the pleco, simply because those guys, besides their leathery skin, do have a very spicky dorsal fin, and thats kind of hard to munch down.
Could it be that the pleco somehow got caught on the intake tube of the filter, and hurt there, and that the goldfish just sort of nibbled the leftovers away?...