memuitls: add support for pagetypeinfo

Signed-off-by: Vinayak Menon <vinayakm.list@gmail.com>