add AUDIOIOC_GETLATENCY definition, and add reference code in sim alsa. Signed-off-by: libei1 <libei1@xiaomi.com>