[statefspp] reference is just reassigned, use pointer

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