build: ignore pragma warnings with GCC

GCC does not support '#pragma mark'.  Add -Wno-unknown-pragmas if the compiler
supports it.