This patch adds a workaround for the pickling error that occasionally
causes security role docs builds to fail, which certainly gets us in
a pickle from time to time.
The upstream bug is: sphinx-doc/sphinx#2324
Closes-Bug: 1627732
Change-Id: Iefbb9c920936634d276053d24bc225b2dec44362