The octet structure function and radiative quarkonia decays