Make SmallInt::min/max constexpr functions and no more variables

* They do not seem fully supported at linking time and
  behavior differs between Clang and GCC
* Fixes compilation on OS X