stmhal: Allow DAC object to be initialised from a pin.

Eg: dac = DAC(Pin.board.X5)