sbinfo: move more things to sb.h, rewrite code to use structures instead of hardcoded offsets

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29723 a1c6a512-1295-4272-9138-f99709370657
2 files changed