Fixing broken Show instance for Codec

The Show instance for `Codec` currently uses a record accessor that is a partial function, and therefore broken for all codecs using the `NewCodec` constructor.