gh-157649: Use more warmups in test_cext to check for refleaks (#159378)

Use 3 warmups instead of 1 before checking for reference leaks. Also,
always call gc.collect() before reading sys.gettotalrefcount().
1 file changed