dfc: Fixed some problems managing pending requests
libgfdfc: Changed initialization method

Now it uses notify() to initialize the dfc library, which is
easier to implement and reduces complexity of lookup calls.
libgfdfc: Fixed incorrect type casting