[Support] Add type generic bit utilities to MathExtras.h