s3-lsa: Fix policy handle memleak and handle type check in _lsa_DeleteObject().