lpc: check that lpc_type is valid in ff_lpc_calc_coefs