With the redefinition
if VERSION > v"1.14-"
sizeof(::Type{T}) where T = Core.bitsizeof(T) ÷ 8
sizeof(::T) where T = sizeof(T)
end
the problems related to sizeof seem to disappear. (One also has to import this redefined sizeof into the test suite.)
However, now other errors pop up, caused by missing methods for new arithmetic operators like -%.