[PATCH] mshtml: Avoid null pointer dereference in OmHistory_get_length (cppcheck)