HID: fix suspend crash by moving initializations earlier