nir: add a bool bitsize lowering pass