Arrange error type

This patches
- remove the defined position of some HTERRs.
- change the constant names.

These errors were originally defined to express state of ArmBase.  However, they are general and can be used in other places.