Cleared up some variable declaration errors.

When const appears before a star in a type it changes the property of the
base-type for the declaration. This is handled differently to const appearing
after pointers in the dtor section.