gen_doc: move parameter types printing in a dedicated function
gen_doc: move parameter types printing in a dedicated function

gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl