Fix a crash when editing audio items (invalid free in the per-item effects)
At the same time, improve cache performance by not having to dereference
as many pointers...