`gem pristine --extensions` acts similar to --all

Previously `gem pristine --extensions` was a no-op, and could only be
disabled.  This meant if you wanted to rebuild your gems with extensions
on a new ruby you would have to restore all gems.

Now when `--extensions` is given explicitly only gems with extensions
will be rebuilt.

Fixes #619