Increment and decrement the refcnt of cap of captbl-toplevel and cap
of pgd when activate and deactivate cap_comp (which increments the
epoch, thus no further access to the pgd and captbl would be made).