mysql56: support Item_ref-ed constant time value

MySQL 5.6 convert a time literal to Item_ref. We can't get real value
from Item_ref-ed time literal. We need to get real value from real
Item.