Fix compilation with MSVC 2010

Issue: https://github.com/ariya/phantomjs/issues/10158
This bug introduced by the macro max( ) defined in <windef.h>.
It replaces max( ) with another statement but still preceded by numeric_limits<Type>::
The workaround is to use the parentheses.