radv: always compute the number of components from the output mask