winrt: Remove incorrect asserts and fix incorrect condition


setPreferredPositioningMethods and setUpdateInterval are called by init so
these functions should not assert in initializing state.

Additionally the early exit condition in setPreferredPositioningMethods
has to be the same as in setUpdateInterval. Both cases have to return
early if the locator has not been initialized. This initialization
happens in init, so both states, Initializing and Initialized, are fine
for further handling.

Change-Id: I4ef8db7178c38299328041a8d163a1b9bbecc5b1
Reviewed-by: Andre de la Rocha <andre.rocha@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
commitdc384a2376a13ae2a8776ea0eda7d6e2fd088a64
parent34e7bd9bda35783d466dc4dd3cf6157a186f6295
authorOliver Wolff <oliver.wolff@qt.io>
committerOliver Wolff <oliver.wolff@qt.io>
commit timeThu, 31 Jan 2019 12:51:13 +0000