Common: fixed Math::Clamp usage in GUIMain::SetControlZOrder

Was occasionally broken by 3b83e42b4a48d0416336b2ee4ba7884665ec4ca4