Fix completion of functions using anonymous structs

When using anonymous structs the ripper would find the wrong beginning for the enclosing function
Fix completion of functions with pointer to anonymous struct as parameter