FP: flush m_code_level & check emptyness of m_end_offsets

This fixes https://github.com/DHrpcs3/rpcs3/issues/349
Probably like this should be good enough

		case 0x44: //REP
			AddCode(fmt::Format("if($cond) for(int i%u = %u; i%u < %u; i%u += %u) //REP",
				m_loop_count, src1.rep2, m_loop_count, src1.rep1, m_loop_count, src1.rep3));
			m_loop_count++;
			m_end_offsets.push_back(src2.end_offset << 2);
			AddCode("{");
			m_code_level++;
			AddCode("}");
		break;