[boost] best way to serialize a GIL image