userapi: add GYI2C functions

Signed-off-by: Arthur Wo <ch.wo@msa.hinet.net>