ANDed waitkey result with 0xFF for x64 systems