[BasicIndexingJob] Shortcut XAttr retrieval for files without attributes
For the common case of files having no XAttrs (comments, tags, ratings), query just once if there are attributes, and if not skip any further accesses.
For the common case of files having no XAttrs (comments, tags, ratings), query just once if there are attributes, and if not skip any further accesses.