Fixed some mistakes in mktag subcompiler
Fixed some mistakes in mktag subcompiler

* Undeclared $code variable fixed.
* "use ($mandatory_params)" only included, if the $mandatory_params
  variable will be generated.
* Fixed $outputstack not being initialized correctly.

kch42/ste,kch42/ste