st/oxr: Validate max sample count
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
authored by Jakob Bornecrantz and committed by Marge Bot 4 months ago 74c11b62 7da4d657