[PATCH openEuler-22.03-LTS-SP1] dev/parport: fix the array out-of-bounds risk