validation: time: don't assign int directly to odp_time_t
validation: time: don't assign int directly to odp_time_t

Under opaque type can be structure that cannot be used with direct
values, So, use conversion functions to get time_t to avoid build
issues.

Reviewed-by: Petri Savolainen <d528fd253b9aaf78fa72edbcc6249e82047f6ce6@nokia.com>
Signed-off-by: Ivan Khoronzhuk <15ad2a232c436ab54d1b78ef06a09c4cd03911f0@linaro.org>
Signed-off-by: Maxim Uvarov <db4d16e02ae2d7493db430203537da8b2e34f290@linaro.org>

mike-holmes-linaro/odp,rsalveti/odp,erachmi/odp,mike-holmes-linaro/odp,rsalveti/odp,kalray/odp-mppa,kalray/odp-mppa,kalray/odp-mppa,erachmi/odp,nmorey/odp,ravineet-singh/odp,kalray/odp-mppa,rsalveti/odp,mike-holmes-linaro/odp,erachmi/odp,ravineet-singh/odp,dkrot/odp,erachmi/odp,ravineet-singh/odp,dkrot/odp,ravineet-singh/odp,nmorey/odp,dkrot/odp,dkrot/odp,nmorey/odp,kalray/odp-mppa,rsalveti/odp,rsalveti/odp,kalray/odp-mppa,nmorey/odp,kalray/odp-mppa,mike-holmes-linaro/odp