[CORE] Make vmm_guest_find_region() flexible to find regions based on flags

This patch makes vmm_guest_find_region() more flexible so that it searchs
regions having specified bits set in region flags.

If none search bits are specified then all regions are considered for search.

Signed-off-by: Anup Patel <anup@brainfault.org>