Fix minor boost compilation error

For my setup, I had to change this in order for ember to build.
It is just a call to boost::shared_array.reset() which should not make a difference.

Versions:

g++:   4.8.0
boost: 1.53.0
Arch Linux x86_64