Consistently use NULL for invalid GUC unit strings

Patch by Euler Taveira