InputCommon: Include the algorithm header in ForceFeedbackDevice

Also simplified the casting within a std::max call
Merge pull request #668 from lioncash/include

InputCommon: Include the algorithm header in ForceFeedbackDevice