Add support for disabling encodings

This allows building a smaller ObjFW if those are not needed.