Fixed some warnings and errors on arm platform (GPU module)