build: use lib/param loadparm code in source3 to get at lpcfg_ functions