Allow finalizers on custom blocks in the minor heap, fix pr 3612

This subsume the pull request https://github.com/ocaml/ocaml/pull/82