A deficiency in g6pd means that the person affected has problems making an enzyme involved in carbohydrate processing, The same enzyme protects red blood cells from being processed normally and can lead to hemolytic anemia. Whoever told you about the muscle hypertrophy was talking through his hat. A lower carbohydrate diet that is in the correct calorie range and exercise are what you need to take off the fat and put on the muscle.
You asked "can someone with g6pd deficiency take steroids without having to worry about hemolysis / hemolytic anemia, if so which steroids if not all steroids."
The answer is no.
Did you ever wonder why it is that anyone with any scientific knowledge will not recommend anabolic steroids? It is because studies have shown them to be dangerous. You will do what you want to, of course, but I won't condone it.
I an opting out. I don't have time for this kind of blather.