Suppression of P-wave superfluidity in long, narrow pores