Fix Linux debug build.

Assert that the GamepadHandle is valid before we run through the list. "pad" was changed in February to handle and the assert was never updated.