[PATCH openEuler-1.0-LTS 20/31] binder: fix incorrect calculation for num_valid