Fix phobos tests for issue 8765 fix.

https://github.com/D-Programming-Language/dmd/pull/3669 depends on this and vice versa.