os2wrap2.h: Added wrappers for ERROR_, OBJ_ and PAG_ constants. Placed the sed commands to a separate script to simplify future re-generation.