[PATCH v2 8/8] dinput: Allocate the dinput_device structure in the caller to dinput_device_alloc().