Gender is psychological. Not physical. It doesn't matter what body parts you were born with, just how you see yourself. And because Cass was raised without being taught the concept of different genders, I doubt she even really considers herself male or female. Remember, Bruce and Barbara told her she was Batgirl, she didn't pick the name herself.