Refcount fixes for clippers.
Track refcounts for palettes in DD4 and 7.

git-svn-id: https://www.williamfeely.info/svn/dxgl@516 8a90861a-4eca-46d5-b744-240ff16d0c4d