IRBuilder: add an assertion that checks if we try to get a debug loc from ->end();