ploop_create_temporary_snapshot(): fix NULL deref

Checking for param == NULL after dereferencing it doesn't make sense.
Same for assigning the parameters and then checking if those are NULL.

Move initialization later in the code, closer to the place where these
are used.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>