Some investors are shunning private-credit funds, but billions of dollars are still flowing into related funds with a big software exposure.