Backport AC extension configuration

This backports [a patch that allows the AC extension to be disabled](https://github.com/rails-api/active_model_serializers/pull/592) to the `0-8-stable` branch.