Fixes Issue 10419 - ICE when lvalue check returns false on function return type.