amdgpu: use single ioctl for amdgpu_query_heap_info

consolidate all the ioctls with one AMDGPU_INFO_MEMORY ioctl call

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
4 jobs for consolidate_heapinfo in 7 minutes and 4 seconds (queued for 43 seconds)
latest
Status Job ID Name Coverage
  Build
passed latest-autotools #763937

00:04:01

passed latest-meson #763936

00:03:31

passed oldest-autotools #763939

00:05:49

passed oldest-meson #763938

00:02:21