If the odor is confined to the head, only occurs with the first few flushes after the boat has sat for a while--even just a couple of days in warm weather, the source of you odor is almost certain to be dead and decaying animal or vegetable micro- (and sometimes not so micro-)sea organisms trapped in he head intake line, pump and channel in the rim of the bowl. A minor change in the toilet intake plumbing can solve this problem.
If, however, it isn't only limited to the first few flushes, I'd have to agree that your hoses are the culprit. Whether it is or not, I strongly recommend you replace ALL of them...the average working life of any hose is only about 10 years because rubber and plastics dry out over time, becoming hard, brittle and prone to cracking and splitting-the last thing you want to happen to a hose connected to an open below-waterline thru-hull!
I have to second SFS's recommendation that you buy my book (see link in my signature below). The title (my publisher's idea) is a bit misleading...'cuz although it does deal with every source of odor on a boat and how to cure, or better yet PREVENT 'em, it's actually a comprehensive "marine toilets and sanitation systems 101" manual that explains the laws, describes all the types of systems and how they work, and will help you learn how to operate and maintain your system to prevent 99% of problems instead of having to cure 'em. 'Cuz you get to do any preventive maintenance on your terms when it's convenient...the need to cure a problem never happens when it is!
And, I'm always happy to answer questions and help you solve any problems!
--Peggie