stp: parser: Update for bison > 3.0

YYPARSE_PARAM define is no longer available in bison. Use the new
%param {} form. Update the lex functions to accept the new parameter.