Treatment of quark masses in b-associated production at the LHC