Effect of population imbalance on the Berezinskii-Kosterlitz-Thouless phase transition in a superfluid Fermi gas