Fix a long-standing bug in the query planner that caused incorrect results
on a LEFT JOIN where the left-hand table is a subquery and the join constraint
is a bare column name coming from the left-hand subquery. Ticket
2df0107b.
Correctly handle the integer literal -0x8000000000000000 in the query planner.