Fix: picked packed16 as template for packed12 instead of packed8
Fix: RGB to XYZ matrix was wrong