Fix warnings with older Boost version

Apparently boost::size(array) used to be signed :(