Set the GstPlayer uri immediately.

Currently it is deferred to the player thread. This results in a
slightly unexpected behaviour(returns NULL or previous value) when
the get_uri() method is called.

The test case is a part of the patch.