time: fix overflow in timespec_add_msec