stp: parser: Update for bison 3.0

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