He would never help Gendry. He's all about the law and the rules, and Gendry is a bastard. He's entitled to nothing. Moreover, if Gendry had a claim, there would be scores of young men in and around Kings Landing (and across Westeros) who would have equally valid claims.