fix initialization error pointed out by memcheck
fix initialization error pointed out by memcheck
dont call dlerror before dlopen

its not necessary because we can detect an error from dlopen
by checking the value of the handle against NULL. also, calling
dlerror before dlopen causes some computation on uninitialized
values (according to memcheck).
ignore memcheck warnings from inside forkpty