Critical current in high-temperature superconductors with disordered tilt grain boundaries