Added IOCTL_SET_REFCOUNT, IOCTL_READ_REG, and IOCTL_WRITE_REG ioctl
operations from sun7i cedar code base.
Replaced IOCTL_SET_VE_FREQ with code from sun7i; changed VE_CLK_HIGH_WATER
to 380 to prevent pll4 from being set higher than max Mali freq setting