[PATCH 5.3 013/180] binder: fix incorrect calculation for num_valid