A Positive-weight next-to-leading-order Monte Carlo for heavy flavour hadroproduction