run_redis_tests: BSD sed compatibility fix