Simplify flycheck-prepend-with-option

Wrap a list around a string result from prepend-fn, and replace -flatten
with a simply apply/append.