The UK's potential exit from the EU has ramifications beyond its borders, bond king Bill Gross says.