Heavy quark mass effects in deep inelastic scattering and global QCD analysis