C or C++ : Inefficient padding