Migrate Binary::checkOffset from error_code to Error, NFC