Branchless way to convert bool to int? - Modular