fix Issue 8213] Incorrect error message with pointer to ubyte[] and front

/+
void foo(T)(T* p) {}
void main()
{
    int* p = new int;
    p.foo;
}
// +/

/+
import std.array;

struct S(R)
{
    this(R* range)
    {
        _range = range;
    }

    auto front()
    {
        return _range.front;
    }

    R* _range;
}

void main()
{
    ubyte[] buffer = [42];
    auto s = S!(ubyte[])(&buffer);
    auto f = s.front;
}
// +/