Fixed bug #65911 ($this not usable as static property)

In context of static accesses like classname::$this, the string
"$this" should not be handled like a $this variable, but as an
identifier for a static variable.