Revert "Use canonical UniquePtr.h header"

This reverts commit 446eafb88aaca4270a5ff85c018aaf86e8b23d01.