InputCommon: Include the algorithm header in ForceFeedbackDevice

We use algorithm functions within this source file so it should be included.

Also simplified the casting within a std::min call