nir: Fix constant evaluation of bfm.