Optimize bool builtin according to truth value if known
Optimize bool builtin according to truth value if known

* This covers optimization of cases that are not compile time constants
  as well.

* Preserves side effects of argument.

wfxiang08/Nuitka,kayhayen/Nuitka,tempbottle/Nuitka,kayhayen/Nuitka,tempbottle/Nuitka,tempbottle/Nuitka,tempbottle/Nuitka,kayhayen/Nuitka,kayhayen/Nuitka,wfxiang08/Nuitka,wfxiang08/Nuitka,wfxiang08/Nuitka