Don't show Find bar when invoked from the context menu of an image file.

This fixes #5689, but we don't disable the menu item as mentioned in #5689 since we still need to allow users to do global search (ie. from Edit > Find in Files). So we just don't allow users to do search in the scope of a singe image file.