Intermediate commit to show a bug

Reference of the bug why this commit exists :
issue #451 from christopho/solarus

When open the console and type "hero:start_frozen(2000)" (or any number)
the game crashes after 2s, depending of what you left as error in the
code. The files to modify are data/physical_condition.lua and
data/entities/frozen_state.lua