[config] correctly process resolvers\loaders section if not array or null

it fixes https://github.com/liip/LiipImagineBundle/issues/394