SAO PAULO, Aug 12 (Reuters) - State development bank BNDES, Brazil's main source of long-term credit for companies, posted a net loss in the second quarter, reflecting the burden of soaring loan-loss...