Reopen one of the pipe descriptors as read/write through the procfs. Allows us to close the original pipe file descriptors, saving a file descriptor on kernels that don't support eventfd(2).