Replace TSdrObjectPtr with unique_ptr with custom deleter

Change-Id: If15e1bab07ee5e9c70a6a0f1961ec2db0c946eb5