fix confstr return value

per the specification, the terminating null byte is counted.