timers: fix multipleResolves in promisified timeouts/immediates
After successful timer finish the abort event callback would still reject (already resolved promise) upon calling abortController.abort().
Signed-off-by: Denys Otrishko shishugi@gmail.com
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
/cc @jasnell @nodejs/timers