avfilter/af_amerge: properly handle unknown input layouts