Ported pico_ql_interface.h for Valgrind in master.
Enhanced pico_ql_interface.c .