locale.c: Remove vars unused on some platforms

A Darwin compiler noted these are unused.