Fix std::pow call for unsigned types on OS X. Refs #7199