[CuBox] xbmc: Clenaup graphics scaler code and fix subtitle position