AuthorizationSet: Clear() should also reset the error_ field

Clear() should reset the error field or it does not recover
AuthorizationSets that have encountered an error before.

Added test ClearRecoversFromError to authorization_set_test.cpp

Test: host test (run make in keymaster director)
Bug: 72702959
Change-Id: I1c422135cb7d235157d17785f5df927164d1e166
2 files changed