FP: flush m_code_level & check emptyness of m_end_offsets

This fixes https://github.com/DHrpcs3/rpcs3/issues/349
Doesn't m_end_offsets start empty?  Won't this kill things that don't start with an if/loop?

-[Unknown]