Information-theoretical derivation of an extended thermodynamical description of radiative systems