read return from strerror_r to appease GCC 4.8

Signed-off-by: Sean Ogden <positivelyskewed.sf@gmail.com>