[ASan] Do not check the shadow of NULL argument in the time() interceptor.
Add a test for time().