cdvdGigaherz: Simplify the loops within readLine and readLineW

No need for the do-while, when we can just test the inverse of the breaking condition in a while.