type_val: small tweak for arrays and complicated lvalues
What's happening here is that originally I just took the value of the
right hand side of the assignment. But that doesn't work if we're doing
|= or something similar. And since those are already handled by
smatch_extra, I figured I could just look up the left hand side after
smatch_extra had done its magic. But then I noticed missing information
because smatch extra doesn't store anything for assignments like:
a->foo[bar] = 42;
Where the array assignment is a bit complicated.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>