Boko Haram, al-Shabaab and other extremist groups get their hands on weapons from armies sent to fight them. A new report tries to measure the scope of the problem.