Add hook for new debathena-thirdparty

Prior to auto-removal, see if the thirdparty package is installed
and if it is, update it if necessary (Trac: #1156)