STP parsers: Fix build on Debian unstable

Recent versions of Bison have dropped the long-deprecated support for
YYPARSE_PARAM, so convert the parsers to use %parse-param instead.

Adapted from
https://github.com/delcypher/stp/commit/ece1a55fb367bd905078baca38476e35b4df06c3

Signed-off-by: Sami Liedes <sami.liedes@iki.fi>
Fix a build failure on Debian unstable.

<fdt.h> needs fdt{16,32,64}_t defined in libfdt_env.h, so add typedefs
for these.

Patch adapted from
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ea6e7975964c75e0c8224205e0c1fd04ba37ed4a

Signed-off-by: Sami Liedes <sami.liedes@iki.fi>