scope: Don't depend on Geany private prototypes

This fixes build with latest Geany development version as it now hides
most internals behind GEANY_PRIVATE, including non-public prototypes.
Merge pull request #171 from b4n/scope/fixes

scope: Don't depend on Geany private prototypes