Characterization of a half-wave plate for CMB circular polarization measurement with POLARBEAR