Fix bugs in customization options pandoc-output-formats and pandoc-major-modes