[Doc] Sanitize boolean input arguments to makeimage.py
[Doc] Sanitize boolean input arguments to makeimage.py

The conversion of the booleans should be to int and not to bool. A
conversion of bool('0') still results in True and only converts
correctly if the argument would be an actual integer. The conversion to
an integer int('0') triggers the typical handling of boolean values in
Python and evaluates correctly the argument.

Fixes #6360

root-mirror/root,root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,olifre/root