Fixes the compilation of the firebird tests with the backend as a DLL.

The global variable for the backend factory can't be accessed directly.
Fixes it by using the function designed for this purpose as other backends do.