Fix for KT-5997: Coudn't find labeled val/var

  #KT-5997 Fixed
Generate labeled statements as statements