portable: remove extraneous strerror_r check