DebugInfo: Split out the implementation of getStaticDataMemberDeclaration for future use