Add size=0 case in decode_gpr for error conditions