Properly handle unsupported value types in the console (bug 1039686). r=robcee