Prevent donation of no-donate items in perform_drop()

Fixes issue #325.