Fix sem_locally_static when constant declaration has unconstrained array type
Use "%g" format for REAL'IMAGE