[PATCH v2 07/10] dinput: Move set_parameter_value helper around.