d3d9: Fix variable type in reset_enum_callback().