typefindfunctions: aac: don't try to unref NULL caps