ast_channels_{lock,unlock} return non-zero on error