[PATCH 6.12 563/826] rtase: Refactor the rtase_check_mac_version_valid() function