Pemex’s debt woes could imperil the sovereign’s investment-grade standing.