mctp: Fix check for dev_hard_header() result