Bug 834896 - Remove the gfx_min/gfx_max templates.  r=joe
Bug 834896 - Replace uses of gfx_min/gfx_max with std::min/std::max.  r=joe