Take in an unknown kind of WKB type number and ensure it comes out as an extended WKB type number (with Z/GEOD/SRID/LINEAR_INTERP flags masked onto the high bits).