hachoir: use version instead of const

Thanks-to: @mikemcquaid