[Object, DebugInfo] Make DWARFContext BE-aware.

test/DebugInfo/member-pointers.ll would not fail in targetting BE any more.