[qtloader] fixing inf recursion on releasing

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>