iOS & OSX: Fix the error "invalid operation" when deleting an OpenAL buffer