Don't write lowlevel_error_handler to state

lowlevel_error_handler should be ignored when writing state, otherwise user will see the infamous "allocator undefined for Proc"