blobmsg: allow data/length iterator/accessor functions to work on non-blobmsg elements