Search for charged Higgs boson decays of the top quark using hadronic τ decays