Move panda_output_fail* to PandaWriter
Make unaligned sequence handler re-entrant