Catch exceptions from bad allocations in `vector::resize`
Catch exceptions from bad allocations in `vector::resize`

See issue https://github.com/lcm-proj/lcm/issues/164

lcm-proj/lcm,bluesquall/lcm,lcm-proj/lcm,bluesquall/lcm,lcm-proj/lcm,lcm-proj/lcm,bluesquall/lcm,bluesquall/lcm,bluesquall/lcm,bluesquall/lcm,lcm-proj/lcm,lcm-proj/lcm,bluesquall/lcm,lcm-proj/lcm,lcm-proj/lcm