Prospect Capital Corp. is discussing a yield of about 8% on its junk-bond offering, its first since 2021, underscoring the rising costs of funding for private-credit funds.