Clang fixes related to Boost Serialization

The following fixes a few errors reported by Clang and seen by Boost Serialization script.
Could you please make this a "const pos::PixelConfigKey &key" to avoid accidental modification of something which was previously copied ? Even if "key" is actually not used in the method. :)
[also in the corresponding .cc file, of course :) ]