primitives: remove unused chroma lowres primitive
primitives: cleanup EncoderPrimitives, refactor chroma p2s primitive

No behavior changes