libintegrity: initialize gthreads in check_and_repair_content2

Change-Id: Id70627d516f970308f94f870b23ce418b8517d27
Merge "libintegrity: initialize gthreads in check_and_repair_content2"