Resolve the difference in error constant definitions between PMIx and its predecessors. Complete implementation of PMI-2 backward compatibility