make PairTable::allocate() virtual
forgot to extract this change when separating the commits for PairTableRX and PairTableKokkos.