Always provide the functions to create the local/network/xml contexts

Even if the backends are disabled. If the backend is not available, then
NULL will be returned.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>