Conditionally emit parantheses for FOR statement

AQL allows nesting only when right is paranthesed. But when reading a
collection these parantheses are not allowed.