hostmem: introduce "prealloc-threads" property