testgdate: fix -Wmisleading-indentation warning
No behavior changes. Just reindent the existing code to avoid a GCC warning spam.
I considered changing the code to not run fflush() on every iteration of the loop, but I doubt it matters much, so I left it be.