[SPARK-4744] [SQL] Short circuit evaluation for AND & OR in CodeGen