Refactor: libs: Use bool instead of gboolean in formatted output args.
It is difficult to verify that this is correct automatically using the
fosa repo because bool, gboolean, and int are all the same by the time
that script runs. This has been done with a combination of static
analysis where possible plus grepping.