Large-N bounds on, and compositeness limit of, gauge and gravitational interactions