input: Don't test uninitialized variables
weston_pointer_move() can change the pointer->focus, so we have to ensure we're only testing old_sx and old_sy if we had a focus set before that point.
Fixes 9b5a525a
Signed-off-by: Derek Foreman derek.foreman@collabora.com