fix for PML export in Release mode

We cannot discard basic block names since PML exports depends on them (for
identifying block on bitcode level).