Use --allow-warnings rather than --error-only for pod spec validation

Fixes inconsistencies pointed out here: https://github.com/CocoaPods/CocoaPods/issues/2820