fix unnecessary irep_free on load.c

fix unnecessary irep_free on load.c