core: Silence newer compiler warnings.