openfimg: compiler: Fix branch target calculation

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