Finite temperature quark-gluon vertex with a magnetic field in the hard thermal loop approximation