file: Drop error cases added by CMake 3.12.0-rc1 to avoid regressions
Refactoring in !1810 (merged) introduced error diagnostics for argument combinations that were previously accepted. Restore acceptance to avoid regressing projects that used those combinations even if they do not make sense.
Fixes: #18097 (closed)