Early warning of precessing neutron-star black-hole binary mergers with the near-future gravitational-wave detectors