The gluon contribution to the polarized structure function g2