Fixes the defadvice.

They were not working at all on the latest version of emacs.
I went into the emacs source of package.el to verify.

The new `defadvice`s have argument names that correspond to the names in package.el.
They have the right type (either symbol or package desc).