shared: move NM_UTILS_ERROR to shared-utils