lib: workaround broken ARCH_FEATURES for newlib.

Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>