mesa/main: rename format-check function