[loader] delete Qt provider in the main thread

Main thread creates Qt providers. If any provider is deleted from
another thread result is unpredictable. So, when provider pointer is
deleted ask main thread to release() it there

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