HADOOP-6669. Respect compression configuration when creating DefaultCodec instances. Contributed by Koji Noguchi