HIVE-7684: Avoid validating hook EnforceReadOnlyTable during test driver cleanup.