Fix GCC warning in rss.cpp

When facing unknown state we should treat this as error.