Codec - ImageWriterFactory : Compare param.name with Writer class name

Patch for ImageWriterFactory problem, found by Lionel Droz-Bartholet this morning.