[PATCH v2 07/12] libxl: add API wrapper for libxl_domain_need_memory