cffdump: add query mode

Query mode lets you query for values of a particular register (specified
by address or name) in the log file (dumped out at draw calls)
libwrap: fix mmap for IOCTL_KGSL_GPUMEM_ALLOC_ID