The recent bankruptcies of US companies First Brands and Tricolor have focused attention on risks associated with the growth in the private credit market, or lending outside traditional banks.