[display] Do not jump over variable initialization
[display] Do not jump over variable initialization

There is a compilation time warning due to code potentially skipping
variable initialization.

Fix the issue by moving the initialization to occur before the potential
jump.

Signed-off-by: Simo Piiroinen <6d5e5360bed3d486f7d9fb26b0f737f7d4fd45ee@jollamobile.com>

spiiroin/mce,spiiroin/mce,spiiroin/mce,spiiroin/mce