[SourceEditor] Use some older Cairo API to fix compilation on linux.