Change the audiohook lock and unlock wrappers to macros instead of inline