standalone <error.h> implementation intended for musl
