Heavy-quark mass dependence in global PDF analyses and 3- and 4-flavour parton distributions