rust: fix level validation
rust: fix level validation

This now matches the C implementation in terms of semantics

indygreg/python-zstandard,indygreg/python-zstandard,indygreg/python-zstandard,indygreg/python-zstandard