utils: Better handle codons containing N

Signed-off-by: Kai Blin <kai.blin@biotech.uni-tuebingen.de>