After years of hype, private credit had a rough week — as bank troubles and new warnings sparked a wave of scrutiny.