Remove allocateDisplayPrivateIndex, freeDisplayPrivateIndex

Use the option system to pass cubeDisplay to rotate plugin.
This requires changing i to long int in union _BananaValue.
This should be temporary.
incomplete removal of CompScreen privates etc.
Revert "incomplete removal of CompScreen privates etc."

This reverts commit dd849c8dabfc6bf7b52b0de29f5b42d7791b7b6d.
Revert "Remove allocateDisplayPrivateIndex, freeDisplayPrivateIndex"

This reverts commit 54b14107932abd1e614d554710eb5a428bdac202.
Revert "Remove allocateCorePrivateIndex, freeCorePrivateIndex"

This reverts commit 742128146489cefecdd77a3b0b90e91d38f3765e.