fabric.c: fix some compiler warnings

And yes, that is the proper way to assign the return from dlsym.  See dlsym(3).  :-)

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>