chore: simplify inference test grep commands (#6455)
Using --quiet means we can avoid duplicating the same string twice and
rely on the exit code to indicate a match, also making the path matching
simpler for Windows. The change to remove `cat` is to follow the pattern
from find-turbo tests.