Cherry-picked edd88d0: Make img2sixel enable to load pbm files