Workaround Xilinx ISIM bug that does not support VHDL type'pos(enum).
hdl/primitives/ocpi/decoder.vhd: create functions to do what type'pos(enum) should do, and use them
tools/cdk/ocpigen/ocpigen/src/wip_HDL.cxx: remote null range property arrays, we don't need them