Fixed a compiler compilation error.

[trivial]

This is a follow-up to r21948.

The 'static' declaration of checkResolveRemovedPrims() was
left in functionResolution.cpp. Removed.

This compilation error showed up only when running
  CHPL_DEVELOPER=1 make OPTIMIZE=1 DEBUG=0 


git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@21950 3a8e244f-b0f2-452b-bcba-4c88e055c3ca