Fix a crash in the Wiimote registration code The code was hitting undefined behavior, causing crashes when starting a Wii game with Dolphin compiled with gcc >= 4.8. Might introduce some slight change in the Wiimote activation logic. Fixes issue 6526.