remove meaningless AS::FrozenObjectError

AS::FrozenObjectError used to be a wrapper of two types of Errors for Ruby version compatibility, which is not in need anymore.
https://github.com/rails/rails/blob/eb39d0f7b999f09c4e13f035634887a8f5592443/activesupport/lib/active_support/core_ext/exception.rb