plugin: rstcheck: Fix issues after DiagnosticTool migration

Merged Veli Tasalı requested to merge tasali/gnome-builder:fix-rstcheck into main

Hi again,

As stated in the title, this fixes the rstcheck plugin. It also passes GFile to populate_diagnostics function for use in IdeLocation construction. If any alternative approach is possible, I can use that instead.

Merge request reports