Fix broken test for O_NONBLOCK inheritance. Followup to r1449570 resp. r1449569 (1.5.x) resp. r1449568 (trunk) which miss the variable declaration. Backport of r1502804 from trunk resp. r1502805 (1.5.x).