Change all_objfiles_safe adapter to be a method on program_space