vendor/cm: add patch to remove a few packages from the build