drivers: globalfifo: a lot of cleanup

Signed-off-by: Barry Song <21cnbao@gmail.com>