If you use the first one, when Vdd change the current will change. If you use a PNP transistor and a resistor connected to the grounded the variation are less, because the transistor absorb part of the variation and the resistor voltage remain quite constant.