Japanese banks have more than doubled their borrowing and lending in dollars since 2007, leaving them vulnerable to funding shocks such as those that exacerbated the last financial crisis, according to the Bank for International Settlements.