Validate a list of specifiers and qualifiers.
(valid-spec/qual-list specquals type? tyspecs table ienv) → (mv erp new-specquals type return-types new-table)
If validation is successful, we return the type determined by the type specifiers in the sequence.
We validate specifiers and qualifiers from left to right, threading the partial results through. When we reach the end, if the type has not been determined yet, we look at the collected type specifiers and determine the type, via a separate validation function. If there are no type specifiers, but no type has been determined, it means that there were no type specifiers at all [C17:6.7.2/2].