libdumpstate: switch to including as HAL static library