As we are building the gtkreftestprivate and reftest test libraries as DLLs, we need to export the symbols in there so that things will link. Decorate the symbols with G_MODULE_EXPORT for this purpose.
Comparing two surfaces is something that can be nicely factored out.