Core/Misc: Fix gcc warnings