IIRC, the term came from slang for a heroin addict (a jones). If you are jonesing for something, then you are addicted to it, and are needing another fix.