ch7: copy x64 files from chapter6
ch7: fix: console input does not work in x86_64

A stupid typo (x96_64) make the first_bit work incorrectly.
Also add #else macro to prevent such kind of error.
ch6: fix the same typo as last commit