libpfrng: cleanup variables on library unload