Remove redundant validation for function locals.
Remove redundant validation for function locals.

Remove the MAX_LOCALS constraint, and the local type validation.
These are checked by whatever is performing proper validation.

stoklund/cretonne,sunfishcode/cretonne,stoklund/cretonne,sunfishcode/cretonne,stoklund/cretonne,sunfishcode/cretonne