[#16219] Patch view_unpublished for file_entity

Use targeted hook_query_TAG_alter() instead of hook_query_alter() to ensure that only appropriate queries are re-written.
Merge pull request #154 from previousnext/16219-file-entity-view-unpublished

[#16219] Patch view_unpublished for file_entity
Merge commit 'f4a348a3cda342156e2e255e7aff9705f4ed7fa3' into 16207-fix-css-images