Jennette McCurdy opens up about an on-set moment with Ariana Grande that 'broke' her