Fix FX_BOOL compilation errors under windows

 - Bool functions should not return -1 for error.
 - Bool variables should not be assigned 2
 - Bool / int32_t prototypes should match.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1254973004 .
7 files changed