Fix uninitilized time value use in nanosleep_lat_test

We first check to make sure the clockid is valid, but we're
using an uninitialized stack value, which causes obvious
problems of variable sleep times.

Fix this bug by moving the target time initialization to
prior its use.

Signed-off-by: John Stultz <john.stultz@linaro.org>