[PATCH v9 09/10] kselftest: save-and-restore errno to allow for %m formatting