fix Issue 8245 - UFCS doesn't work for pointers