Loki: improve backend-compatibility (#47579)
Loki: improve backend-compatibility (#47579)

* loki: annotation queries: make them ready for the backend-mode

* removed unused code
grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana