fix the memory invalid read problem for agg min and max with inline varchar on very very edge edge case