splice: add helpers for locking pipe inode