Prevent error when calling <association>_ids=

Error raised when creating a delete statement as a result of calling `has_and_belongs_to_many_association_ids=` method.

Error: undefined method `abstract_class?' for Object:Class

Related to dockyard/postgres_ext#102 and perhaps dockyard/postgres_ext#68.