Fix gmxtest with CRLF

Depending on the perl version the CRLF input
on Windows messed up the empty line detection.
Jenkins uses Strawberry perl. Now it also works
with msys.

Change-Id: I149dc4756a4a4a7964f04464d250d05d8c3197be