luajit21.py: lgcstat: minor optimizations from Shuxin Yang.