openfimg: Add more state handling

Most of register state can be emitted now.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>