The initial mass function in the Coma Berenices dwarf galaxy from deep near-infrared HST observations