drc: merge Ari64's patch: 08_loop_hoisting