When getting the locno of a bpstat, handle the case of bp with null locations.