Revert "add libgmp to safe deps"

This reverts commit 258df454096f1e30fc8117fcfb0d52353d856e00.