Nothing in this subtitle deprives an owner of goods of any remedy which he might have against a consignee on any matter or contract between them or for the violation of any engagement, duty, or debt for which the consignee is liable, subject, however, to the right of the consignee to have the benefit of any payment of any debt or damages paid on the contract by a third person.