If the gd don't fit in piraiba's mouth and the catfish is fed well, then there shouldn't be a problem from that end.
Gd usually ignore catfish as they don't resemble their usual prey like shiny characins mid water but leaving them hungry is still risky.