net: thunderx: Fix memory leak when changing queue count