BCFT and OSFT moduli: an exact perturbative comparison