Africa’s military budgets are being squeezed by the global slump in commodities