John Buckley, VC (1813–1876), Deputy Assistant Commissary of Ordnance, Bengal