release lock in case of a fatal error

Release lock if we plan to bail out.

zend_accel_error with ACCEL_LOG_ERROR calls zend_bailout(), which prevents the releasing of the lock.