c++: Fix for decltype and bit-fields [PR95009]