Force optimization for builtin_object_size test

Gcc cannot compute the size of the object statically
if optimizations are disabled.