Fixed test to pass

This fixes the test.
You can use
```
TEST_PHP_ARGS="--show-all" TESTS=ext/standard/tests/file/tempnam_suffix.phpt make test
```
to see the outputs