kernel/clock: Correct time initialization
kernel/clock: Correct time initialization

Correct time initialization for the case where time is initialized from
settings in the .config file.  The correct range for month (tm_mon)
internally is 0-11, not 1-12 as it is in the .config file.

Patch from Nuttx
Commit-ID: 123c520db42113c8553c2741b8fdcd8cb95400c2

Change-Id: Icc302e7bdb9a9a3cedceb265cb842c9f642a747c
Signed-off-by: Heuisam Kwag <2145cbb01e90577cd4983eccc3b7d9a9dfba6875@samsung.com>

JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT