The Gelfand-Kirillov dimension of rank 2 Nichols algebras of diagonal type