Bounds on certain generalized Kloosterman sums over GLn