qstring-ref: Don't warn when a QStringRef wouldn't compile
For example when there's an implicit converstion to QVariant
BUG: 376737