I grew up in religion, have much internalised homophobia and sexual repression from it (I am not heterosexual but I'm not openly out despite having left religion for over a decade)
I actually have much affection for scripture from many religions and don't see it as a blanket condemnation against things - everything is open to interpretation when taken out of the context of the time, place and culture and applied across the board
The no masturbation thing isn't solely in the various sects of Christianity- even the new age movement has its own version of it- redirecting the energy back through the crown chakra etc for kundalini awakening
The difference seems to be the point of it differing in different belief systems
I don't think it's necessary for people to make their minds up by religious guidelines- I have a high drive, it's much easier for me not to engage unless I have a partner as it's annoying to me otherwise but that's just my practical preference
If it causes you problems- consider not, if it doesn't cause you or anyone else any problems- then maybe consider researching the context of scriptures that make you feel uncomfortable and determining if you interpret the text in the same manner yourself as those who use it to define it as sinful