D3700 breaks Gitian builds since the class size may not match our expectations on x86.
This patch restricts the check to x86 since the class sizes on each architecture is not critical.
Also add an assert message to silence a warning that there isn't one.