Core: Fix warnings in gpu.cpp