object: fix missing LAST_TYPE check in di_getx
object: fix missing LAST_TYPE check in di_getx

We only checked for LAST_TYPE in variants, but missed naked LAST_TYPE.

Signed-off-by: Yuxuan Shui <7f7e1535bcd10fa942d56a3436533af20f33203f@gmail.com>

yshui/deai,yshui/deai,yshui/deai