BV equivalence between triadic gravity and BF theory in three dimensions