Only set isConstPointer if it is true.
This behavior seems a bit inconsistent with the existing parser. But most of the time, this is only set when it is true.