Revert "lib/replace: Fix snprintf() override for systems with a broken snprintf()"