capsicum: implement show_fdinfo for capabilities

The show_fdinfo function pointer is used when generating the
contents of /proc/<pid>/fdinfo/<fd>, so add code to emit the
rights associated with a capability file descriptor.