[OCaml] Refactor Llvm_target tests