Probability that the k-gcd of products of positive integers is B-friable