[master 3/2] Return NULL on error in doSetSystemTime.