Fixed compilation.
Fixed code generation on x64 target with some instructions when register ids were greater than 7.
Added constant folding case for AND64.
Merge remote-tracking branch 'upstream/master'