Fix input size computation in SetSPrefs pioctl