vm: make vm.overcommit available externally
(cherry picked from commit a6cc4c6e98eb65d7cc15c16262ad6053763fe18a)