Effect of ionic temperature on the modulational instability of ion acoustic waves in the presence of a magnetic field