support h and hh in sscanf, and fix non-i32 case in hex sscanf; fixes #2322